<template>
<div>
    <h2>我是儿子</h2>
    <div>{{money}}</div>
    <hr>
    <GrandSon></GrandSon>
    
</div>
</template>

<script>
import GrandSon from './GrandSon.vue'
export default {
    components:{
        GrandSon
    },
    inject:['money']
}
</script>

<style>

</style>